﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="../scripts/boot.js" type="text/javascript"></script>
    <script type="text/javascript">
        $.ajax({
            url: "../data/system.aspx?method=703",
            async: false,
            success: function (text) {
                if (text == "no")
                    window.location = "../system/error.html";
                else if (text == "out") {
                    var loginWindow = parent.mini.get("loginWindow");
                    if (!loginWindow.visible)
                        loginWindow.show();
                    var tabs = parent.mini.get("mainTabs");
                    var tab = tabs.getTab("tab$703");
                    tabs.removeTab(tab);
                }
            }
        });

        var States = [{ id: 0, text: '未审核' }, { id: 1, text: '已审通过' }, { id: 2, text: '已审未通过' }, { id: -1, text: "全部"}];
        var Edu = [{ id: '博士', text: '博士' }, { id: '硕士', text: '硕士' }, { id: '本科', text: '本科' }, { id: '专科', text: '专科' }, { id: '其他', text: '其他' }];
        var Hard = [{ id: 0, text: '不属于困难毕业生' }, { id: 1, text: '城乡低保' }, { id: 2, text: '低保边缘户' }, { id: 3, text: '城镇零就业家庭' }, { id: 4, text: '父母亲患重大疾病造成家庭经济特别困难' }, { id: 5, text: '烈士子女' }, { id: 6, text: '家庭遭遇重大变故造成家庭经济特别困难' }, { id: 7, text: '孤儿' }, { id: 8, text: '残疾毕业生' }, { id: 9, text: '其他' }];
        var Will1 = [{ id: '不限', text: '不限' }, { id: '本市', text: '本市' }, { id: '本省', text: '本省' }, { id: '其他地区', text: '其他地区' }];
        var Will2 = [{ id: '自愿暂时不就业', text: '自愿暂时不就业' }, { id: '不限', text: '不限' }, { id: '非国有企业', text: '非国有企业' }, { id: '公益性岗位安置', text: '公益性岗位安置' }, { id: '自主创业', text: '自主创业' }, { id: '灵活就业', text: '灵活就业' }, { id: '其他', text: '其他' }];
        var Need = [{ id: 1, text: '政策咨询' }, { id: 2, text: '就业指导' }, { id: 3, text: '就业见习' }, { id: 4, text: '推荐就业' }, { id: 5, text: '职业培训' }, { id: 6, text: '创业服务' }, { id: 7, text: '小额贷款' }, { id: 8, text: '其他' }];
        var Will = [{ id: 0, text: '自愿暂时不就业' }, { id: 1, text: '想就业'}];
        var WillWork = [{ id: 0, text: '不限' }];
    </script>
</head>
<body>
    <div class="mini-fit">
        <div id="divList" class="mini-fit">
            <div class="mini-toolbar" style="border-bottom:0;">
                <table>
                    <tr>
                        <td>
                        姓名：
                        <input id="key" name="state" class="mini-textbox" style="width:100px"/>
                        状态：
                        <input id="state" name="state" class="mini-combobox" data="States" value="0" style="width:90px"/>                 
                        <a class="mini-button" iconCls="icon-search" plain="true" onclick="search()">查询</a>
                        <span class="separator"></span>
<!--                        <a class="mini-button" iconcls="icon-add" plain="true" onclick="addRow()">新增</a>-->
                        <a class="mini-button" iconcls="icon-remove" plain="true" onclick="delRows()">删除</a>
                        <span class="separator"></span>
                        <a class="mini-button" plain="true" iconcls="icon-ok" onclick="checkRows(1)">审核通过</a>
                        <a class="mini-button" plain="true" iconcls="icon-no" onclick="checkRows(2)">审核不通过</a>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="mini-fit">
                <div id="datagrid1" class="mini-datagrid" style="width:100%;height:100%;" allowresize="true" url="../data/system.aspx?method=GetStudentList" idField="id" multiSelect="true" sizeList="[15,20,50,100]" pageSize="15">
                    <div property="columns">
                        <div type="checkcolumn" ></div>  
                        <div name="action" width="45" headerAlign="center" align="center" renderer="onActionRenderer" cellStyle="padding:0;">操作</div>
                        <div field="st_name" width="80" headerAlign="center" align="center" allowSort="true">姓名</div>  
                        <div field="st_card" width="100" headerAlign="center" align="center" allowSort="true">身份证号</div>                            
                        <div field="st_school" width="120" align="center" headerAlign="center" allowSort="true">毕业院校</div>
                        <div field="st_state" width="80" align="center" headerAlign="center" allowSort="true" renderer="onStateRenderer">状态</div>
                        <div field="st_finishtime" width="80" allowSort="true" align="center" headerAlign="center" dateFormat="yyyy-MM-dd">毕业时间</div>                                    
                        <div field="st_edu" width="80" allowSort="true" align="center" headerAlign="center">学历</div>
                        <div field="st_tel" width="80" headerAlign="center" align="center" allowSort="true" >联系电话</div>  
                        <div field="st_inserttime" width="80" headerAlign="center" align="center" allowSort="true" dateFormat="yyyy-MM-dd">提交时间</div>
                    </div>
                </div>
            </div>
        </div>
        <div id="editForm" class="form" style="display: none">
            <fieldset style="border: solid 1px #aaa; width: 1150px;" id="fd2">
                <legend>
                    <label>
                        详细信息</label></legend>
                <input class="mini-hidden" name="st_no" />
                <table cellspacing="0" cellpadding="0" style="border-right: 1px solid #a8daf2; border-bottom: 1px solid #a8daf2;width:1150px;" class="formtable">
                    <tr>
                        <td class="title" style="text-align: center;width:120px;">
                            <span style="color: Red">*</span>&nbsp;&nbsp;姓名
                        </td>
                        <td class="text" style="width:180px;">
                            <input class="mini-textbox" name="st_name" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;width:70px;">
                            <span style="color: Red">*</span>&nbsp;&nbsp;性别
                        </td>
                        <td class="text" style="width:180px;">
                            <input class="mini-combobox" style="width: 60px;" name="st_sex" textfield="di_name"
                                valuefield="di_code" url="../data/system.aspx?method=GetCbxSex" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;width:120px;">
                            政治面貌
                        </td>
                        <td class="text" style="width:180px;">
                            <input class="mini-textbox" name="st_zzmm" style="width: 115px" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;width:100px;">
                            <span style="color: Red">*</span>&nbsp;&nbsp;学历
                        </td>
                        <td class="text" style="width:180px;">
                            <input class="mini-combobox" style="width: 80px;" name="st_edu" data="Edu" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            出生日期
                        </td>
                        <td class="text">
                            <input class="mini-datepicker" name="st_birth" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            民族
                        </td>
                        <td class="text">
                            <input class="mini-textbox" name="st_nation" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center">
                            <span style="color: Red">*</span>&nbsp;&nbsp;毕业时间
                        </td>
                        <td class="text">
                            <input class="mini-datepicker" name="st_finishtime" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            特长
                        </td>
                        <td class="text">
                            <input class="mini-textbox" name="st_techang" style="width: 150px" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            <span style="color: Red">*</span>&nbsp;&nbsp;身份证号码
                        </td>
                        <td class="text" colspan="3">
                            <input class="mini-textbox" name="st_card" style="width: 180px" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            <span style="color: Red">*</span>&nbsp;&nbsp;届别情况
                        </td>
                        <td class="text" colspan="3">
                            <input class="mini-textbox" name="st_jiebie" style="width: 80px" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            <span style="color: Red">*</span>&nbsp;&nbsp;毕业院校
                        </td>
                        <td class="text" colspan="2">
                            <input class="mini-textbox" name="st_school" style="width: 180px" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            <span style="color: Red">*</span>&nbsp;&nbsp;所在院系（专业）
                        </td>
                        <td class="text">
                            <input class="mini-textbox" name="st_profession" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            <span style="color: Red">*</span>&nbsp;&nbsp;入学前户口所在地
                        </td>
                        <td class="text" colspan="2">
                            <input class="mini-textbox" name="st_yyhk" style="width: 250px" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            <span style="color: Red">*</span>&nbsp;&nbsp;现户口所在地
                        </td>
                        <td class="text" colspan="3">
                            <input class="mini-textbox" name="st_xzhk" style="width: 250px" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            有无执（职）业资格
                        </td>
                        <td class="text">
                            <input class="mini-textbox" name="st_zhiyezg" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            取得时间
                        </td>
                        <td class="text">
                            <input class="mini-datepicker" name="st_zhiyezgtime" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            <span style="color: Red">*</span>&nbsp;&nbsp;现居住详细地址
                        </td>
                        <td class="text" colspan="3">
                            <input class="mini-textbox" name="st_address" style="width: 250px" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            有无专业技术资格
                        </td>
                        <td class="text">
                            <input class="mini-textbox" name="st_zhuanyezg" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            取得时间
                        </td>
                        <td class="text">
                            <input class="mini-datepicker" name="st_zhuanyezgtime" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            困难毕业生填写
                        </td>
                        <td class="text" colspan="4">
                            <input class="mini-combobox" name="st_hard" data="Hard" style="width: 180px" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            注明
                        </td>
                        <td class="text" colspan="2">
                            <input class="mini-textbox" name="st_hardmemo" style="width: 250px" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            <span style="color: Red">*</span>&nbsp;&nbsp;联系方式
                        </td>
                        <td class="text">
                            <input name="st_tel" class="mini-textbox" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            电子邮箱
                        </td>
                        <td class="text">
                            <input name="st_email" class="mini-textbox" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            常用联系人
                        </td>
                        <td class="text" colspan="3">
                            <input name="st_lianxr" class="mini-textbox" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            有无就业经历
                        </td>
                        <td class="text">
                            <input name="st_jytimes" class="mini-textbox" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            起止时间
                        </td>
                        <td class="text">
                            <input name="st_jytimes" class="mini-datepicker" readonly="readonly"/>
                            <input name="st_jytimed" class="mini-datepicker" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            单位名称
                        </td>
                        <td class="text">
                            <input name="st_jycompany" class="mini-textbox" style="width: 180px" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            所在岗位
                        </td>
                        <td class="text">
                            <input name="st_jywork" class="mini-textbox" style="width: 180px" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            有无见习经历
                        </td>
                        <td class="text">
                            <input name="st_jxtimes" class="mini-textbox" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            起止时间
                        </td>
                        <td class="text">
                            <input name="st_jxtimes" class="mini-datepicker" readonly="readonly"/>
                            <input name="st_jxtimed" class="mini-datepicker" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            单位名称
                        </td>
                        <td class="text">
                            <input name="st_jxcompany" class="mini-textbox" style="width: 180px" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            所在岗位
                        </td>
                        <td class="text">
                            <input name="st_jxwork" class="mini-textbox" style="width: 180px" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            需要登记机构提供的帮扶项目<br />（可选多项）
                        </td>
                        <td class="text" colspan="3">
                            <input name="st_need" class="mini-checkboxlist" repeatitems="8" data="Need" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            注明
                        </td>
                        <td class="text" colspan="3">
                            <input class="mini-textbox" name="st_needmemo" style="width: 180px" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            <span style="color: Red">*</span>&nbsp;&nbsp;求职意向
                        </td>
                        <td class="text" colspan="3">
                            <input name="st_will" class="mini-combobox" data="Will" readonly="readonly"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            注明
                        </td>
                        <td class="text" colspan="3">
                            <input class="mini-textbox" name="st_willmemo" style="width: 250px" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            工作地区
                        </td>
                        <td class="text" colspan="7">
                            <input name="st_willarea" class="mini-textbox" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            就业类型
                        </td>
                        <td class="text" colspan="7">
                            <input name="st_willkind" class="mini-combobox" data="Will2" readonly="readonly"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center;">
                            工作岗位
                        </td>
                        <td class="text">
                            <input name="st_willwork" class="mini-combobox" data="WillWork" readonly="readonly"/>
                        </td>
                        <td class="text" colspan="4">
                            1、<input name="st_willwork1" class="mini-textbox" readonly="readonly" style="width: 180px"/>
                            2、<input name="st_willwork2" class="mini-textbox" readonly="readonly" style="width: 180px"/>
                        </td>
                        <td class="title" style="text-align: center;">
                            待遇期望工资
                        </td>
                        <td class="text">
                            <input name="st_willmoney" class="mini-textbox" readonly="readonly"/>元/月
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center; color: red">
                            <span style="color: Red">*</span>&nbsp;&nbsp;就业去向
                        </td>
                        <td class="text">
                            <input name="st_goto" class="mini-textbox" required="true"/>
                        </td>
                        <td class="title" style="text-align: center; color: red">
                            *&nbsp;&nbsp;单位名称
                        </td>
                        <td class="text" colspan="2">
                            <input name="st_gotocompany" class="mini-textbox" style="width: 250px" required="true"/>
                        </td>
                        <td class="title" style="text-align: center; color: red">
                            *&nbsp;&nbsp;岗位名称
                        </td>
                        <td class="text" colspan="2">
                            <input name="st_gotowork" class="mini-textbox" style="width: 250px" required="true"/>
                        </td>
                    </tr>
                    <tr>
                        <td class="title" style="text-align: center; color: red">
                            其他说明情况
                        </td>
                        <td class="text" colspan="7">
                            <input name="st_memo" class="mini-textarea" style="width: 700px; height: 80px" />
                        </td>
                    </tr>
                    <tr>
                        <td class="text" style="text-align: center; padding-top: 5px; height:40px;" colspan="8">
                            <a class="mini-button" style="width: 60px;" onclick="updateRow()">保存</a>
                            <span style="display: inline-block;width: 25px;"></span>
                            <a class="mini-button" style="width: 60px;" onclick="cancelRow()">取消</a>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </div>
    </div>
</body>
    <script type="text/javascript">
        $.ajaxSetup({
            contentType: "application/x-www-form-urlencoded;charset=utf-8",
            complete: function (XMLHttpRequest, textStatus) {
                if (XMLHttpRequest.responseText == "out") {
                    var loginWindow = parent.mini.get("loginWindow");
                    if (!loginWindow.visible)
                        loginWindow.show();
                }
            }
        });

        mini.parse();

        var grid = mini.get("datagrid1");
        search();

        function search() {
            var key = mini.get("key").getValue();
            var state = mini.get("state").getValue();
            grid.load({ key: key, state: state });
            grid.sortBy("st_no", "desc");
        }

        function oncardValidation(e) {
            if (e.isValid) {
                if (CheckCard(e.value) == false) {
                    e.errorText = "必须输入正确的身份证号";
                    e.isValid = false;
                }
            }
        }

        //编辑图标显示
        function onActionRenderer2(e) {
            var grid = e.sender;
            var record = e.record;
            var uid = record.st_no;
            var s = '<span class="icon-edit actionspan" title="修改" onclick="editRow(' + uid + ')"></span><span class="separator"></span><span class="icon-remove actionspan" title="删除" onclick="delRow(' + uid + ')"></span>';
            return s;
        }

        function onStateRenderer(e) {
            var record = e.record;
            var uid = record.st_state;
            var s = "";
            if (uid == 0)
                s = '未审核';
            else if (uid == 1)
                s = '<span style="color:Green">审核通过</span>';
            else
                s = '<span style="color:Red">审核未通过</span>';

            return s;
        }

        function addRow() {
            var form = new mini.Form("#editForm");
            form.reset();
            $("#editForm").show();
            $("#divList").hide();
        }

        function editRow(row_uid) {
            var row = grid.getRowByUID(row_uid);
            if (row) {
                var form = new mini.Form("#editForm");
                form.loading();
                form.clear();
                $("#editForm").show();
                $("#divList").hide();
                $.ajax({
                    url: "../data/system.aspx?method=GetStudent",
                    data: { id: row.st_no },
                    success: function (text) {
                        form.unmask();
                        if (text == "out") {
                            $("#divList").show();
                            $("#editForm").hide();
                            var loginWindow = parent.mini.get("loginWindow");
                            if (!loginWindow.visible)
                                loginWindow.show();
                            return;
                        }
                        var o = mini.decode(text);
                        form.setData(o);
                    },
                    error: function () {
                        form.unmask();
                        ShowMessage("系统提示", "信息加载出错！", 3);
                    }
                });
            }
        }

        function updateRow() {
            var form = new mini.Form("#editForm");
            form.validate();
            if (form.isValid() == false)
                return;
            var o = form.getData();
            var json = mini.encode(o);
            mini.mask({ el: document.body, cls: 'mini-mask-loading', html: '保存中，请稍后...' });

            $.ajax({
                url: "../data/system.aspx?method=SaveStudent",
                data: { data: json },
                success: function (ret) {
                    mini.unmask(document.body);
                    if (ret == "out") {
                        var loginWindow = parent.mini.get("loginWindow");
                        if (!loginWindow.visible)
                            loginWindow.show();
                        return;
                    }
                    if (ret == 1) {
                        $("#divList").show();
                        $("#editForm").hide();
                        form.clear();
                        ShowMessage("系统提示", "未就业毕业生保存成功！", 1);
                        grid.reload();
                    }
                    else
                        ShowMessage("系统提示", "未就业毕业生保存失败！", 3);
                },
                error: function (jqXHR, textStatus, errorThrown) {
                    mini.unmask(document.body);
                    ShowMessage("系统提示", "未就业毕业生保存失败！", 3);
                }
            });
        }

        function cancelRow() {
            var form = new mini.Form("#editForm");
            form.clear();
            $("#divList").show();
            $("#editForm").hide();
        }

        function delRow(row_uid) {
            var row = grid.getRowByUID(row_uid);
            if (row) {
                mini.confirm("确定删除该未就业毕业生吗？", "系统提示",
                    function (action) {
                        if (action == "ok") {
                            mini.mask({ el: document.body, cls: 'mini-mask-loading', html: '删除中，请稍后...' });
                            $.ajax({
                                url: "../data/system.aspx?method=DeleteStudent",
                                data: { id: row.st_no },
                                success: function (ret) {
                                    mini.unmask(document.body);
                                    if (ret == "out") {
                                        var loginWindow = parent.mini.get("loginWindow");
                                        if (!loginWindow.visible)
                                            loginWindow.show();
                                        return;
                                    }
                                    if (ret >= 0) {
                                        ShowMessage("系统提示", "未就业毕业生删除成功！", 1);
                                        grid.reload();
                                    }
                                    else
                                        ShowMessage("系统提示", "未就业毕业生删除失败！", 3);
                                },
                                error: function (XMLHttpRequest, textStatus, errorThrown) {
                                    mini.unmask(document.body);
                                    ShowMessage("系统提示", "未就业毕业生删除失败！", 3);
                                }
                            });
                        }
                    }
                );
            }
        }

        function delRows() {
            var rows = grid.getSelecteds();
            if (rows.length > 0) {
                mini.confirm("确定删除所选未就业毕业生吗?", "系统提示",
                    function (action) {
                        if (action == "ok") {
                            mini.mask({ el: document.body, cls: 'mini-mask-loading', html: '删除中，请稍后...' });
                            var ids = "";
                            for (var i = 0; i < rows.length; i++) {
                                ids += rows[i].st_no + ',';
                            }

                            $.ajax({
                                url: "../data/system.aspx?method=DeleteStudent",
                                type: "post",
                                data: { id: ids },
                                success: function (ret) {
                                    mini.unmask(document.body);
                                    if (ret == "out") {
                                        var loginWindow = parent.mini.get("loginWindow");
                                        if (!loginWindow.visible)
                                            loginWindow.show();
                                        return;
                                    }
                                    if (ret >= 0) {
                                        ShowMessage("系统提示", "未就业毕业生删除成功！", 1);
                                        grid.reload();
                                    }
                                    else
                                        ShowMessage("系统提示", "未就业毕业生删除失败！", 3);
                                },
                                error: function (XMLHttpRequest, textStatus, errorThrown) {
                                    mini.unmask(document.body);
                                    ShowMessage("系统提示", "未就业毕业生删除失败！", 3);
                                }
                            });
                        }
                    }
                );
            } else
                ShowMessage("系统提示", "请选择需要删除的未就业毕业生！", 2);
        }

        function checkRows(state) {
            var rows = grid.getSelecteds();
            if (rows.length > 0) {
                mini.confirm("确定审核所选未就业毕业生吗？", "系统提示",
                    function (action) {
                        if (action == "ok") {
                            mini.mask({ el: document.body, cls: 'mini-mask-loading', html: '操作中，请稍后...' });
                            var ids = "";
                            for (var i = 0; i < rows.length; i++) {
                                ids += rows[i].st_no + ',';
                            }

                            $.ajax({
                                url: "../data/system.aspx?method=CheckStudent",
                                type: "post",
                                data: { id: ids, state: state },
                                success: function (ret) {
                                    mini.unmask(document.body);
                                    if (ret == "out") {
                                        var loginWindow = parent.mini.get("loginWindow");
                                        if (!loginWindow.visible)
                                            loginWindow.show();
                                        return;
                                    }
                                    if (ret >= 0) {
                                        ShowMessage("系统提示", "未就业毕业生审核成功！", 1);
                                        grid.reload();
                                    }
                                    else
                                        ShowMessage("系统提示", "未就业毕业生审核失败！", 3);
                                },
                                error: function (XMLHttpRequest, textStatus, errorThrown) {
                                    mini.unmask(document.body);
                                    ShowMessage("系统提示", "未就业毕业生审核失败！", 3);
                                }
                            });
                        }
                    }
                );
            } else
                ShowMessage("系统提示", "请选择需要审核的信息！", 2);
        }
 </script>
</html>
